package ar.com.ctrln.persistence.dao.ticket;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import ar.com.ctrln.persistence.dao.AbstractDao;

import ar.com.ctrln.persistence.model.insumo.Insumo;
import ar.com.ctrln.persistence.model.ticket.Ticket;
import ar.com.ctrln.persistence.model.ticket.TipoTicket;

public interface TicketDao extends AbstractDao<Ticket> {
	

	@Transactional(readOnly=true)
	Ticket findTicketById(long id);
	
	@Transactional(readOnly=true)
	Ticket findTicketByTipo(TipoTicket tipo);
	
	@Transactional(readOnly=true)
	List<Ticket> ticketsByEmisor (long id);
	
	@Transactional(readOnly=true)
	List<Ticket> ticketsOrder ();
	
	
}
